/*
 * Accelerator.java
 *
 * Created on September 22, 2007, 10:39 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package flightlifter;

import java.util.*;
public abstract class Accelerator {
    
    int numObjects;
    protected boolean valid = false;
    public boolean showTree = false;
    public Vector objects = new Vector();
    abstract public void add(Intersectable newObject);    
    abstract public void draw();
    abstract public boolean findNearest(Ray state);
    abstract void validate();
}
